package ru.urfc.portal.model.documents;

import javax.persistence.Entity;
import javax.xml.bind.annotation.XmlRootElement;

import ru.urfc.portal.model.catalogs.SysCatalogItem;
import ru.urfc.portal.ui.client.Constants;

@Entity
@XmlRootElement(name = Constants.DOCUMENT_STATE)
public class DocumentState extends SysCatalogItem {
	public static final String DRAFT_CODE = ru.urfc.portal.ui.client.model.catalogs.DocumentState.DRAFT.getCode();
	public static final String SUBMITTED_CODE = ru.urfc.portal.ui.client.model.catalogs.DocumentState.SUBMITTED.getCode();
	public static final String IN_PROGRESS_CODE = ru.urfc.portal.ui.client.model.catalogs.DocumentState.IN_PROGRESS.getCode();
	public static final String REFUSED_CODE = ru.urfc.portal.ui.client.model.catalogs.DocumentState.REFUSED.getCode();
	public static final String SATISFIED_CODE = ru.urfc.portal.ui.client.model.catalogs.DocumentState.SATISFIED.getCode();

	public DocumentState() {
		super();
	}

	public DocumentState(String code, String text) {
		super(code, text);
	}

}
